<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function Person(name,age){
            this.name = name,
            this,age = age
        }
        function Teacher(name,age,skill){
            Person.call(this,name,age),
            this.skill = skill
        }
        var teacher = new Teacher("cc",18,"html");
        console.log(teacher);
    </script>
</body>
</html>